<template>
  <el-config-provider :locale="locale">
    <!-- 所有路由的出口 -->
    <router-view />
  </el-config-provider>
</template>
<script setup lang="ts">
import { ref } from "vue";
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/lib/locale/lang/zh-cn";

const locale = ref(zhCn);
</script>
